package com.account.api;

import com.plf.common.domain.ResponseDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;


@FeignClient(value = "account-svr", contextId = "account-svr", path = "/account-svr")
@RestController
public interface IHa_user_accountFeign {

    /**
     * 查询部门用户树
     * @param departid 部门id
     * @return
     */
    @PostMapping("/account/ha_user/tree")
    ResponseDTO tree(@RequestParam(name = "departid", required = false) String departid);

}
